#ifndef PRJ_MANAGER_DETAIL_WIDGET_H
#define PRJ_MANAGER_DETAIL_WIDGET_H

#include <QWidget>
#include "project_overview_widget.h"
#include "prj_manager_task_widget.h"
#include "prj_manager_test_widget.h"
#include "requirement_management_widget.h"
#include "version_management_widget.h"

namespace Ui {
class PrjManagerDetailWidget;
}

class PrjManagerDetailWidget : public QWidget
{
    Q_OBJECT

public:
    explicit PrjManagerDetailWidget(QWidget *parent = nullptr);
    ~PrjManagerDetailWidget();
    void setProject(QString prjName, QString uuid);

private:
    void initUi();
    void initEvents();

signals:
    void backToPrj();

private:
    Ui::PrjManagerDetailWidget *ui;
    QString                      m_prjUuid;
    ProjectOverviewWidget       *m_prjManagerOverviewWidget;
    RequirementManagementWidget *m_prjManagerRequirementWidget;
    PrjManagerTaskWidget        *m_prjManagerTaskWidget;
    PrjManagerTestWidget        *m_prjManagerTestWidget;
    VersionManagementWidget     *m_versionManagementWidget;
};

#endif // PRJ_MANAGER_DETAIL_WIDGET_H
